﻿using System.Security.Claims;
using Yuebon.Commons.Options;

namespace Yuebon.Commons.HttpContextUser
{
    public interface IUser
    {
        UserInfo UserInfo { get; }
        IEnumerable<Claim> GetClaimsIdentity();
        List<string> GetClaimValueByType(string ClaimType);

        string GetToken();
        List<string> GetUserInfoFromToken(string ClaimType);
        UserInfo GetUserInfo();

    }
}
